package com.zdlee.netty.server19.protocol.response;

import com.zdlee.netty.server19.protocol.Packet;
import com.zdlee.netty.server19.session.Session;
import lombok.Data;

import static com.zdlee.netty.server19.protocol.command.Command.GROUP_MESSAGE_RESPONSE;

/**
 * @author zdlee
 * @description: ${DESCRIPTION}
 * @create 2018-12-03 16:39
 */
@Data
public class GroupMessageResponsePacket extends Packet {

    private String fromGroupId;

    private Session fromUser;

    private String message;

    @Override
    public Byte getCommand() {
        return GROUP_MESSAGE_RESPONSE;
    }
}
